<%--
  Created by IntelliJ IDEA.
  User: cherishy
  Date: 2020/7/31
  Time: 15:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Sign Up</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/style.css">
</head>
<body>
<div class="login-page">
    <div class="form">
        <h3>欢迎登录图书管理系统</h3>
        <form class="login-form" action="${pageContext.request.contextPath}/user/login" method="post">
            <input placeholder="用户名" name="userName" >
            <input type="password" placeholder="密码" name="pwd">
            <button>登录</button>
            <span style="color: red">${msg}</span>
            <p class="message">还没有账号？<a href="${pageContext.request.contextPath}/user/toRegister">立即注册</a></p>
        </form>
    </div>
</div>
</body>
</html>
